package com.jic.market.response;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * description: PromotionGiftItemResponse
 * date: 2020/3/2 14:29
 * author: wangys
 * version: 1.0
 */
@Data
@Accessors(chain = true)
public class PromotionGiftItemResponse {

    /*
     *
     */
    private Long id;

    private String couponId;
    /*
     * 促销ID
     */
    private Long promotionId;


    /*
     * channel_code=-1为商家商品ID或优惠券活动id,其余为店铺商品id
     */
    private Long giftRef;


    /*
     * 商家商品id
     */
    private Long mmpId;


    /*
     * 店铺id
     */
    private Long storeId;


    /*
     * 渠道code,商家商品为-1
     */
    private String channelCode;


    /*
     * 商品code
     */
    private String mpCode;


    /*
     * 商品名称
     */
    private String mpName;


    /*
     * 0到3为商品,赠券为null
     */
    private Integer giftType;


    /*
     * 优惠层级
     */
    private Integer giftLevel;


    /*
     * 优惠层级关联
     */
    private Long levelRef;


    /*
     * 换购金额
     */
    private BigDecimal upgradeAmount;


    /*
     * 扩展限制
     */
    private String extendRef;


    /*
     * promotion_rule表的主键
     */
    private Long promotionRuleId;


    /*
     * 赠送数量
     */
    private Long giftNum;


    /*
     * 最多赠送次数
     */
    private Long individualLimit;


    /*
     * 系列品id
     */
    private Long merchantSeriesId;


    /*
     * 逻辑删除字段 0 正常 1 已删除
     */
    private Integer deleteFlag;


    /*
     * 是否可用:默认0否;1是
     */
    private Integer status;


    /*
     *
     */
    private Long companyId;


    /*
     * 商家id
     */
    private Long merchantId;


    /*
     * 买一赠一时候，赠品关联主品的mpId
     */
    private Long masterRef;


    /*
     * 条码ID (ERP使用)
     */
    private Long barcodeId;


    /*
     * 产品id
     */
    private Long productId;


    /*
     * 创建时间
     */
    private Date createTime;


    /*
     * 创建人
     */
    private Long creator;


    /*
     * 创建人姓名
     */
    private String creatorName;


    /*
     * 更新时间
     */
    private Date updateTime;


    /*
     * 更新人
     */
    private Long updator;


    /*
     * 更新人姓名
     */
    private String updatorName;


    /*
     * 单渠道商家限制
     */
    private Long channelMerchantLimit;


    /*
     * 单渠道门店限制
     */
    private Long channelStoreLimit;


    /*
     * 单渠道个人限制
     */
    private Long channelIndividualLimit;

    private String storeName;

    private String merchantName;


    private String couponName;
    private Date couponUseStartTime;
    private Date couponUseEndTime;
    private Long grantTotalNum;
    private Long grantNum;
    //使用说明
    private String couponUseDesc;
    private BigDecimal couponAmount;
    private Long stock;
    private String goodsCategory;
    private BigDecimal salePrice;

    private BigDecimal useTotalAmountLimit;

}
